
let argv = process.argv
// node的路径
let nodePath = argv[0]
let indexPath = argv[1]

// csv文件路径
let csvPath = argv[2]
if (!csvPath) {
    console.log("csv路径错误")
    return
}
// 输出的json目录
let outJsonPath = argv[3]
if (!outJsonPath) {
    console.log("json路径错误")
    return
}
let createNoRepeatStr = argv[4]

const { run } = require("./csv")
console.log("开始生成")
run(
    "",
    csvPath,
    outJsonPath,
    createNoRepeatStr == "true",
)
console.log("生成完毕")


